package com.mc.designpattern.factory.factory3;

import org.springframework.stereotype.Service;

/**
 * @author fumengchao
 * @ClassName RdbDaoFactory.java
 * @Description TODO
 * @createTime 2021 0729 16:32:00
 */
@Service
public class XmlDaoFactory extends DaoFactory {

    @Override
    OrderDetailDAO createOrderDetailDao() {
        return new XmlDetailDAOImpl();
    }

    @Override
    OrderMainDAO createOrderMainDao() {
        return new XmlMainDAOImpl();
    }
}